/**
 * 
 */
package com.moioo.util;

import java.io.IOException;

import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.apache.struts.action.ActionServlet;

/**
 * @author 3400423@qq.com
 *
 */
public class DLLAction extends ActionServlet{
	private static final long serialVersionUID = 4526225027010710415L;

	protected void process(HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException {
	    response.setHeader("Cache-control","no-cache");
	    response.setHeader("Pragma","No-cache");
	    response.setHeader("Cache-Control","no-cache");
	    response.setHeader("Expires","0");
	    response.setContentType("text/html; charset=GBK");
	    request.setCharacterEncoding("GBK");
		super.process(request, response);
	}
}
